package com.wirelesstransfer.AsyncTasks;

import java.io.File;

import android.os.AsyncTask;
import android.widget.ArrayAdapter;

public class UpdateClientStatus extends AsyncTask<String, String, String> {
	ArrayAdapter<File> files;	

	public UpdateClientStatus(){
		files = AsyncTaskElements.files;
	}
	
	@Override
	protected String doInBackground(String... file) {
		publishProgress(file[0]);
		return null;
	}

	protected void onProgressUpdate (String... values){
		System.err.println("updating ClientStatus");
		if(files != null)
			files.notifyDataSetChanged();
	}

}
